/****************************************************************
 * Fulguro
 * Copyright (C) 2004 Christophe Clienti
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 ***************************************************************/

#ifdef __cplusplus
extern "C" {
#endif

#ifndef __FLGR_CORE_REPLACE_H
#define __FLGR_CORE_REPLACE_H
  
#include <flgrCoreDll.h>
#include <flgrCoreErrors.h>
#include <flgrCoreTypes.h>
#include <flgrCoreData.h>
#include <flgrCoreVector.h>






  /****************************** 1D REPLACE Functions **************************************/

  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_I_I_I(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, FLGR_Data1D *dattest2,
						  FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);
  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_I_I_C(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, FLGR_Data1D *dattest2,
						  FLGR_Data1D *dattrue, FLGR_Vector *vec_false);
  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_I_C_I(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, FLGR_Data1D *dattest2,
						  FLGR_Vector *vec_true, FLGR_Data1D *datfalse);
  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_I_C_C(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, FLGR_Data1D *dattest2,
						  FLGR_Vector *vec_true, FLGR_Vector *vec_false);
  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_C_I_I(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, FLGR_Vector *vec_test2,
						  FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);
  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_C_I_C(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, FLGR_Vector *vec_test2,
						  FLGR_Data1D *dattrue, FLGR_Vector *vec_false);
  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_C_C_I(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, FLGR_Vector *vec_test2,
						  FLGR_Vector *vec_true, FLGR_Data1D *datfalse);
  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_C_C_C(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, FLGR_Vector *vec_test2,
						  FLGR_Vector *vec_true, FLGR_Vector *vec_false);


  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_I_I_S(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, FLGR_Data1D *dattest2,
						  FLGR_Data1D *dattrue, char *str_false);
  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_I_S_I(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, FLGR_Data1D *dattest2,
						  char *str_true, FLGR_Data1D *datfalse);
  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_I_S_S(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, FLGR_Data1D *dattest2,
						  char *str_true, char *str_false);
  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_S_I_I(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, char *str_test2,
						  FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);
  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_S_I_S(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, char *str_test2,
						  FLGR_Data1D *dattrue, char *str_false);
  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_S_S_I(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, char *str_test2,
						  char *str_true, FLGR_Data1D *datfalse);
  EXPORT_LIB FLGR_Ret flgr1d_replace_I_with_S_S_S(FLGR_Data1D *datout, 
						  FLGR_Data1D *dattest1, char *test, char *str_test2,
						  char *str_true, char *str_false);


 






  EXPORT_LIB void flgr1d_replace_I_with_I_I_I_fgBIT(FLGR_Data1D *datout, 
						    FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						    FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_I_fgUINT8(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						      FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_I_fgUINT16(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						       FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_I_fgUINT32(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						       FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_I_fgINT8(FLGR_Data1D *datout, 
						     FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						     FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_I_fgINT16(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						      FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_I_fgINT32(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						      FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_I_fgFLOAT32(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
							FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_I_fgFLOAT64(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
							FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);







  EXPORT_LIB void flgr1d_replace_I_with_I_I_C_fgBIT(FLGR_Data1D *datout, 
						    FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						    FLGR_Data1D *dattrue, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_C_fgUINT8(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						      FLGR_Data1D *dattrue, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_C_fgUINT16(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						       FLGR_Data1D *dattrue, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_C_fgUINT32(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						       FLGR_Data1D *dattrue, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_C_fgINT8(FLGR_Data1D *datout, 
						     FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						     FLGR_Data1D *dattrue, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_C_fgINT16(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						      FLGR_Data1D *dattrue, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_C_fgINT32(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						      FLGR_Data1D *dattrue, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_C_fgFLOAT32(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
							FLGR_Data1D *dattrue, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_I_C_fgFLOAT64(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
							FLGR_Data1D *dattrue, FLGR_Vector *vec_false);






  EXPORT_LIB void flgr1d_replace_I_with_I_C_I_fgBIT(FLGR_Data1D *datout, 
						    FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						    FLGR_Vector *vec_true, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_I_fgUINT8(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						      FLGR_Vector *vec_true, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_I_fgUINT16(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						       FLGR_Vector *vec_true, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_I_fgUINT32(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						       FLGR_Vector *vec_true, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_I_fgINT8(FLGR_Data1D *datout, 
						     FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						     FLGR_Vector *vec_true, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_I_fgINT16(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						      FLGR_Vector *vec_true, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_I_fgINT32(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						      FLGR_Vector *vec_true, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_I_fgFLOAT32(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
							FLGR_Vector *vec_true, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_I_fgFLOAT64(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
							FLGR_Vector *vec_true, FLGR_Data1D *datfalse);







  EXPORT_LIB void flgr1d_replace_I_with_I_C_C_fgBIT(FLGR_Data1D *datout, 
						    FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						    FLGR_Vector *vec_true, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_C_fgUINT8(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						      FLGR_Vector *vec_true, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_C_fgUINT16(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						       FLGR_Vector *vec_true, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_C_fgUINT32(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						       FLGR_Vector *vec_true, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_C_fgINT8(FLGR_Data1D *datout, 
						     FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						     FLGR_Vector *vec_true, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_C_fgINT16(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						      FLGR_Vector *vec_true, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_C_fgINT32(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
						      FLGR_Vector *vec_true, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_C_fgFLOAT32(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
							FLGR_Vector *vec_true, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_I_C_C_fgFLOAT64(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Data1D *dattest2,
							FLGR_Vector *vec_true, FLGR_Vector *vec_false);








  EXPORT_LIB void flgr1d_replace_I_with_C_I_I_fgBIT(FLGR_Data1D *datout, 
						    FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						    FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_C_I_I_fgUINT8(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						      FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_C_I_I_fgUINT16(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						       FLGR_Data1D *dattrue, FLGR_Data1D *datfalse);

  EXPORT_LIB void flgr1d_replace_I_with_C_I_I_fgUINT32(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						       FLGR_Data1D *dattrue, FLGR_Data1D *datfalse); 

  EXPORT_LIB void flgr1d_replace_I_with_C_I_I_fgINT8(FLGR_Data1D *datout, 
						     FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						     FLGR_Data1D *dattrue, FLGR_Data1D *datfalse); 

  EXPORT_LIB void flgr1d_replace_I_with_C_I_I_fgINT16(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						      FLGR_Data1D *dattrue, FLGR_Data1D *datfalse); 

  EXPORT_LIB void flgr1d_replace_I_with_C_I_I_fgINT32(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						      FLGR_Data1D *dattrue, FLGR_Data1D *datfalse); 

  EXPORT_LIB void flgr1d_replace_I_with_C_I_I_fgFLOAT32(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
							FLGR_Data1D *dattrue, FLGR_Data1D *datfalse); 

  EXPORT_LIB void flgr1d_replace_I_with_C_I_I_fgFLOAT64(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
							FLGR_Data1D *dattrue, FLGR_Data1D *datfalse); 






  EXPORT_LIB void flgr1d_replace_I_with_C_I_C_fgBIT(FLGR_Data1D *datout, 
						    FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						    FLGR_Data1D *dattrue, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr1d_replace_I_with_C_I_C_fgUINT8(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						      FLGR_Data1D *dattrue, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr1d_replace_I_with_C_I_C_fgUINT16(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						       FLGR_Data1D *dattrue, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr1d_replace_I_with_C_I_C_fgUINT32(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						       FLGR_Data1D *dattrue, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr1d_replace_I_with_C_I_C_fgINT8(FLGR_Data1D *datout, 
						     FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						     FLGR_Data1D *dattrue, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr1d_replace_I_with_C_I_C_fgINT16(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						      FLGR_Data1D *dattrue, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr1d_replace_I_with_C_I_C_fgINT32(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						      FLGR_Data1D *dattrue, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr1d_replace_I_with_C_I_C_fgFLOAT32(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
							FLGR_Data1D *dattrue, FLGR_Vector *vec_false);

  EXPORT_LIB void flgr1d_replace_I_with_C_I_C_fgFLOAT64(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
							FLGR_Data1D *dattrue, FLGR_Vector *vec_false); 

    





  EXPORT_LIB void flgr1d_replace_I_with_C_C_I_fgBIT(FLGR_Data1D *datout, 
						    FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						    FLGR_Vector *vec_true, FLGR_Data1D *datfalse); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_I_fgUINT8(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						      FLGR_Vector *vec_true, FLGR_Data1D *datfalse); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_I_fgUINT16(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						       FLGR_Vector *vec_true, FLGR_Data1D *datfalse); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_I_fgUINT32(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						       FLGR_Vector *vec_true, FLGR_Data1D *datfalse); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_I_fgINT8(FLGR_Data1D *datout, 
						     FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						     FLGR_Vector *vec_true, FLGR_Data1D *datfalse); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_I_fgINT16(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						      FLGR_Vector *vec_true, FLGR_Data1D *datfalse); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_I_fgINT32(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						      FLGR_Vector *vec_true, FLGR_Data1D *datfalse); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_I_fgFLOAT32(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
							FLGR_Vector *vec_true, FLGR_Data1D *datfalse); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_I_fgFLOAT64(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
							FLGR_Vector *vec_true, FLGR_Data1D *datfalse); 




  EXPORT_LIB void flgr1d_replace_I_with_C_C_C_fgBIT(FLGR_Data1D *datout, 
						    FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						    FLGR_Vector *vec_true, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_C_fgUINT8(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						      FLGR_Vector *vec_true, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_C_fgUINT16(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						       FLGR_Vector *vec_true, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_C_fgUINT32(FLGR_Data1D *datout, 
						       FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						       FLGR_Vector *vec_true, FLGR_Vector *vec_false) ; 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_C_fgINT8(FLGR_Data1D *datout, 
						     FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						     FLGR_Vector *vec_true, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_C_fgINT16(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						      FLGR_Vector *vec_true, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_C_fgINT32(FLGR_Data1D *datout, 
						      FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
						      FLGR_Vector *vec_true, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_C_fgFLOAT32(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
							FLGR_Vector *vec_true, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr1d_replace_I_with_C_C_C_fgFLOAT64(FLGR_Data1D *datout, 
							FLGR_Data1D *dattest1, FLGR_Test test, FLGR_Vector *vec_test2,
							FLGR_Vector *vec_true, FLGR_Vector *vec_false); 





  /****************************** 2D REPLACE Functions **************************************/


  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_I_I_I(FLGR_Data2D *datout,
						  FLGR_Data2D *dattest1, char * test, FLGR_Data2D *dattest2,
						  FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 
  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_I_I_C(FLGR_Data2D *datout,
						  FLGR_Data2D *dattest1, char * test, FLGR_Data2D *dattest2,
						  FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 
  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_I_C_I(FLGR_Data2D *datout,
						  FLGR_Data2D *dattest1, char * test, FLGR_Data2D *dattest2,
						  FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 
  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_I_C_C(FLGR_Data2D *datout,
						  FLGR_Data2D *dattest1, char * test, FLGR_Data2D *dattest2,
						  FLGR_Vector *vec_true, FLGR_Vector *vec_false); 
  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_C_I_I(FLGR_Data2D *datout,
						  FLGR_Data2D *dattest1, char * test,  FLGR_Vector *ctest2,
						  FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 
  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_C_I_C(FLGR_Data2D *datout,
						  FLGR_Data2D *dattest1, char * test,  FLGR_Vector *ctest2,
						  FLGR_Data2D *dattrue, FLGR_Vector *vec_false ); 
  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_C_C_I(FLGR_Data2D *datout,
						  FLGR_Data2D *dattest1, char * test,  FLGR_Vector *ctest2,
						  FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 
  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_C_C_C(FLGR_Data2D *datout,
						  FLGR_Data2D *dattest1, char * test,  FLGR_Vector *ctest2,
						  FLGR_Vector *vec_true, FLGR_Vector *vec_false);


  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_I_I_S(FLGR_Data2D *datout, 
						  FLGR_Data2D *dattest1, char *test, FLGR_Data2D *dattest2,
						  FLGR_Data2D *dattrue, char *str_false);
  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_I_S_I(FLGR_Data2D *datout, 
						  FLGR_Data2D *dattest1, char *test, FLGR_Data2D *dattest2,
						  char *str_true, FLGR_Data2D *datfalse);
  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_I_S_S(FLGR_Data2D *datout, 
						  FLGR_Data2D *dattest1, char *test, FLGR_Data2D *dattest2,
						  char *str_true, char *str_false);
  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_S_I_I(FLGR_Data2D *datout, 
						  FLGR_Data2D *dattest1, char *test, char *str_test2,
						  FLGR_Data2D *dattrue, FLGR_Data2D *datfalse);
  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_S_I_S(FLGR_Data2D *datout, 
						  FLGR_Data2D *dattest1, char *test, char *str_test2,
						  FLGR_Data2D *dattrue, char *str_false);
  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_S_S_I(FLGR_Data2D *datout, 
						  FLGR_Data2D *dattest1, char *test, char *str_test2,
						  char *str_true, FLGR_Data2D *datfalse);
  EXPORT_LIB FLGR_Ret flgr2d_replace_I_with_S_S_S(FLGR_Data2D *datout, 
						  FLGR_Data2D *dattest1, char *test, char *str_test2,
						  char *str_true, char *str_false);







  EXPORT_LIB void flgr2d_replace_I_with_I_I_I_fgBIT(FLGR_Data2D *datout,
						    FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						    FLGR_Data2D *dattrue, FLGR_Data2D *datfalse);  
  EXPORT_LIB void flgr2d_replace_I_with_I_I_I_fgUINT8(FLGR_Data2D *datout,
						      FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						      FLGR_Data2D *dattrue, FLGR_Data2D *datfalse);  
  EXPORT_LIB void flgr2d_replace_I_with_I_I_I_fgUINT16(FLGR_Data2D *datout, 
						       FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						       FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_I_I_I_fgUINT32(FLGR_Data2D *datout, 
						       FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						       FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_I_I_I_fgINT8(FLGR_Data2D *datout, 
						     FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						     FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_I_I_I_fgINT16(FLGR_Data2D *datout, 
						      FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						      FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_I_I_I_fgINT32(FLGR_Data2D *datout, 
						      FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						      FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_I_I_I_fgFLOAT32(FLGR_Data2D *datout, 
							FLGR_Data2D *dattest1, FLGR_Test test,FLGR_Data2D *dattest2,
							FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_I_I_I_fgFLOAT64(FLGR_Data2D *datout, 
							FLGR_Data2D *dattest1, 
							FLGR_Test test, FLGR_Data2D *dattest2,
							FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 


  EXPORT_LIB void flgr2d_replace_I_with_I_I_C_fgBIT(FLGR_Data2D *datout,FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						    FLGR_Data2D *dattrue, FLGR_Vector *vec_false);  
  EXPORT_LIB void flgr2d_replace_I_with_I_I_C_fgUINT8(FLGR_Data2D *datout,FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						      FLGR_Data2D *dattrue, FLGR_Vector *vec_false);  
  EXPORT_LIB void flgr2d_replace_I_with_I_I_C_fgUINT16(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						       FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_I_I_C_fgUINT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						       FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_I_I_C_fgINT8(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						     FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_I_I_C_fgINT16(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						      FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_I_I_C_fgINT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						      FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_I_I_C_fgFLOAT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
							FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_I_I_C_fgFLOAT64(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
							FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr2d_replace_I_with_I_C_I_fgBIT(FLGR_Data2D *datout,FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						    FLGR_Vector *vec_true, FLGR_Data2D *datfalse);  
  EXPORT_LIB void flgr2d_replace_I_with_I_C_I_fgUINT8(FLGR_Data2D *datout,FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						      FLGR_Vector *vec_true, FLGR_Data2D *datfalse);  
  EXPORT_LIB void flgr2d_replace_I_with_I_C_I_fgUINT16(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						       FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_I_C_I_fgUINT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						       FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_I_C_I_fgINT8(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						     FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_I_C_I_fgINT16(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						      FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_I_C_I_fgINT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						      FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_I_C_I_fgFLOAT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
							FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_I_C_I_fgFLOAT64(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
							FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 

  EXPORT_LIB void flgr2d_replace_I_with_I_C_C_fgBIT(FLGR_Data2D *datout,FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						    FLGR_Vector *vec_true, FLGR_Vector *vec_false);  
  EXPORT_LIB void flgr2d_replace_I_with_I_C_C_fgUINT8(FLGR_Data2D *datout,FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						      FLGR_Vector *vec_true, FLGR_Vector *vec_false);  
  EXPORT_LIB void flgr2d_replace_I_with_I_C_C_fgUINT16(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						       FLGR_Vector *vec_true, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_I_C_C_fgUINT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						       FLGR_Vector *vec_true, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_I_C_C_fgINT8(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						     FLGR_Vector *vec_true, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_I_C_C_fgINT16(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						      FLGR_Vector *vec_true, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_I_C_C_fgINT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
						      FLGR_Vector *vec_true, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_I_C_C_fgFLOAT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
							FLGR_Vector *vec_true, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_I_C_C_fgFLOAT64(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Data2D *dattest2,
							FLGR_Vector *vec_true, FLGR_Vector *vec_false); 


  EXPORT_LIB void flgr2d_replace_I_with_C_I_I_fgBIT(FLGR_Data2D *datout,FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						    FLGR_Data2D *dattrue, FLGR_Data2D *datfalse);  
  EXPORT_LIB void flgr2d_replace_I_with_C_I_I_fgUINT8(FLGR_Data2D *datout,FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						      FLGR_Data2D *dattrue, FLGR_Data2D *datfalse);  
  EXPORT_LIB void flgr2d_replace_I_with_C_I_I_fgUINT16(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						       FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_C_I_I_fgUINT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						       FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_C_I_I_fgINT8(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						     FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_C_I_I_fgINT16(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						      FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_C_I_I_fgINT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						      FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_C_I_I_fgFLOAT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
							FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_C_I_I_fgFLOAT64(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
							FLGR_Data2D *dattrue, FLGR_Data2D *datfalse); 


  EXPORT_LIB void flgr2d_replace_I_with_C_I_C_fgBIT(FLGR_Data2D *datout,FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						    FLGR_Data2D *dattrue, FLGR_Vector *vec_false);  
  EXPORT_LIB void flgr2d_replace_I_with_C_I_C_fgUINT8(FLGR_Data2D *datout,FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						      FLGR_Data2D *dattrue, FLGR_Vector *vec_false);  
  EXPORT_LIB void flgr2d_replace_I_with_C_I_C_fgUINT16(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						       FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_C_I_C_fgUINT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						       FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_C_I_C_fgINT8(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						     FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_C_I_C_fgINT16(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						      FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_C_I_C_fgINT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						      FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_C_I_C_fgFLOAT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
							FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_C_I_C_fgFLOAT64(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
							FLGR_Data2D *dattrue, FLGR_Vector *vec_false); 

  EXPORT_LIB void flgr2d_replace_I_with_C_C_I_fgBIT(FLGR_Data2D *datout,FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						    FLGR_Vector *vec_true, FLGR_Data2D *datfalse);  
  EXPORT_LIB void flgr2d_replace_I_with_C_C_I_fgUINT8(FLGR_Data2D *datout,FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						      FLGR_Vector *vec_true, FLGR_Data2D *datfalse);  
  EXPORT_LIB void flgr2d_replace_I_with_C_C_I_fgUINT16(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						       FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_C_C_I_fgUINT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						       FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_C_C_I_fgINT8(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						     FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_C_C_I_fgINT16(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						      FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_C_C_I_fgINT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						      FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_C_C_I_fgFLOAT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
							FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 
  EXPORT_LIB void flgr2d_replace_I_with_C_C_I_fgFLOAT64(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
							FLGR_Vector *vec_true, FLGR_Data2D *datfalse); 

  EXPORT_LIB void flgr2d_replace_I_with_C_C_C_fgBIT(FLGR_Data2D *datout,FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						    FLGR_Vector *vec_true, FLGR_Vector *vec_false);  
  EXPORT_LIB void flgr2d_replace_I_with_C_C_C_fgUINT8(FLGR_Data2D *datout,FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						      FLGR_Vector *vec_true, FLGR_Vector *vec_false);  
  EXPORT_LIB void flgr2d_replace_I_with_C_C_C_fgUINT16(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						       FLGR_Vector *vec_true, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_C_C_C_fgUINT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						       FLGR_Vector *vec_true, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_C_C_C_fgINT8(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						     FLGR_Vector *vec_true, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_C_C_C_fgINT16(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						      FLGR_Vector *vec_true, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_C_C_C_fgINT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
						      FLGR_Vector *vec_true, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_C_C_C_fgFLOAT32(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
							FLGR_Vector *vec_true, FLGR_Vector *vec_false); 
  EXPORT_LIB void flgr2d_replace_I_with_C_C_C_fgFLOAT64(FLGR_Data2D *datout, FLGR_Data2D *dattest1, FLGR_Test test, FLGR_Vector *imtest2,
							FLGR_Vector *vec_true, FLGR_Vector *vec_false); 







#endif

#ifdef __cplusplus
}
#endif
